<template>

  <div>
      <h2>我是profile组件</h2>
      <!-- query形式参数获取 -->
      <p>{{$route.query.name}}</p>
      <p>{{$route.query.age}}</p>
  </div>

</template>



<script>

export default {

  data() {

    return {};

  },

  components: {}

};

</script>



<style></style>